// 导入base.less
@import url(base.less);
// 导入normalize.less
@import url(normalize.less);
// 导入common.less公共样式
@import url(commom.less);
// 声明基准值变量
// width: (10 / 37.5rem)
@baseSize: 37.5rem;
@gColor: #14916a;

.bannar {
  width: (375 / @baseSize);
  height: (170 / @baseSize);


}

main {
  .news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: (28 / @baseSize) 0 (6 / @baseSize) 0;
    background-color: #fff;


    .news-title {
      // height: (74 / @baseSize);
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      background-color: #eee;
      padding: (17 / @baseSize) 0 (14 / @baseSize) 0;

      h4 {
        font-size: (18 / @baseSize);
        line-height: (18 / @baseSize);
        font-weight: normal;
        margin-bottom: (16 / @baseSize);
        // 单行文本省略号
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .read {
        font-size: (10 / @baseSize);
        font-style: normal;


        span {
          color: @gColor;

          &:nth-child(2) {
            margin-left: (10 / @baseSize);
          }

          i {
            font-style: normal;
            color: #333;
          }
        }
      }
    }

    .text-box-one {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      font-size: (12 / @baseSize);
      line-height: (18 / @baseSize);
      color: #333;
      padding-bottom: (40 / @baseSize);

      p {
        &:nth-child(1) {
          color: #999;
          padding: (15 / @baseSize) (28 / @baseSize) (20 / @baseSize) 0;
        }
      }

      img {
        width: 100%;
        height: (235 / @baseSize);
      }
    }

    .mb17 {
      margin-bottom: (17 / @baseSize);
    }

    .more {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      a {
        min-width: (355 / @baseSize);
        min-height: (30 / @baseSize);
        display: flex;
        font-size: (14 / @baseSize);
        color: #fff;
        // padding: (8 / @baseSize) (39 / @baseSize) (8 / @baseSize) (19 / @baseSize);
        background-color: @gColor;
        margin-bottom: (30 / @baseSize);
        border-top-left-radius: (15 / @baseSize);
        border-bottom-right-radius: (15 / @baseSize);
        line-height: (30 / @baseSize);



        span {

          padding-left: (19 / @baseSize);
          padding-right: (8 / @baseSize);
          border-right: 1px solid #fff;


        }

        i {
          width: (238 / @baseSize);
          padding-left: (10 / @baseSize);
          font-style: normal;
          //单行文本省略号
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;

        }
      }
    }
  }
}